//
//  M_Media.h
//  YunDongGym
//
//  Created by lqq on 2018/5/28.
//  Copyright © 2018年 lqq. All rights reserved.
//

#import "M_Base.h"


/**
 媒体类型
 */
typedef NS_ENUM(NSInteger, YDMeidaType) {
    YDMeidaType_Picture = 1,//图片
    mediaType_Video = 2,//视频
};

@protocol M_Media

@end


@interface M_Media : M_Base
@property (nonatomic, assign) long long createdate;//
@property (nonatomic, copy) NSString *creator;//
@property (nonatomic, assign) BOOL isDelete;
@property (nonatomic, copy) NSString *mediaId;//
@property (nonatomic, assign) YDMeidaType mediaType;//
@property (nonatomic, copy) NSString *mediaUrl;//
@property (nonatomic, copy) NSString *objectId;//
@property (nonatomic, copy) NSString *objectTable;//
@end



@interface M_MediaDate : M_Base
@property (nonatomic, copy) NSString *mediaDate;//;//图片日期
@property (nonatomic, strong) NSMutableArray<M_Media> *mediaList;//图片列表

@property (nonatomic, strong) NSDate *date;//自己多加的转换的属性
@end



